package com.project.service;

import com.project.entity.PageBean;
import com.project.entity.Student;

import java.util.List;

/**
 * @author wzm
 * @create 2023-05-31 9:34
 */
public interface StudentService {
    boolean add(Student student);
    boolean remove(Student student);
    boolean modify(Student student);
    Student getById(Student student);
    List<Student> getAll();

    Student login(Student student);

    boolean removeByIds(int[] ids);

    PageBean<Student> selectByPage(int currentPage, int pageSize);


    PageBean<Student> selectByPageIf(int currentPage, int pageSize,Student student);

}
